
<?php echo CHtml::form('', 'post'); ?>
<table width="300px">
<tr>
	<td style="width: 150px">Tên: </td>
	<td>
		<input type="text" value="<?php echo $user['your_name'];?>"></input>
	</td>
</tr>
<tr>
	<td>
		User Name: 
	</td>
	<td>
		<input disabled="disabled" disabled="disabled" type="text" value="<?php echo $user['user_name'];?>"></input>
	</td>
</tr>
<tr>
	<td>
		Acc Liberty: 
	</td>
	<td>
		<input disabled="disabled" type="text" value="<?php echo $user['lr_acc'];?>"></input>
	</td>
</tr>
<tr>
	<td>Email: </td>
	<td>
		<input disabled="disabled" type="text" value="<?php echo $user['email'];?>"></input>
	</td>
</tr>
<tr>
	<td>Ngày đăng kí: </td>
	<td><input disabled="disabled" type="text" value="<?php echo $user['date_reg'];?>"></input></td>
</tr>
<tr>
	<td>Money: </td>
	<td><input disabled="disabled" type="text" value="<?php echo $user['lr_money'];?>"></input></td>
</tr>
<tr>
	<td>Đăng nhập cuối: </td>
	<td><input disabled="disabled" type="text" value="<?php echo $user['last_login'];?>"></input></td>
</tr>
<tr>
	<td>IP đăng nhập cuối: </td>
	<td><input disabled="disabled" type="text" value="<?php echo $user['last_ip'];?>"></input></td>
</tr>
<tr>
	<td>Tình trạng: </td>
	<td><?php if($user['active']==1){echo '<b>Đang hoạt động</b> <input class="button" name="btnban" type="submit" value="Khóa"/>';}else{echo '<s><font color="red"><b>Đang bị khóa<b></font><s><input class="button active" name="btnunban" type="submit" value="Mở Khóa"/>';}?>
</tr>
</table>
<?php
	$url = Yii::app()->request->baseUrl . '/index.php/backend/admin/users';
	echo CHtml::link('<< Quản lý user', $url);
?>



